CREATE TABLE [dbo].[TTEVAL_CLIE]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_TIPO] [dbo].[TD_VC_003] NOT NULL,
[CO_EVCL] [dbo].[TD_VC_003] NOT NULL,
[DE_EVCL] [dbo].[TD_VC_100] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTEVAL_CL__CO_US__6CCE0729] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTEVAL_CL__FE_US__6DC22B62] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTEVAL_CL__CO_US__6EB64F9B] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTEVAL_CL__FE_US__6FAA73D4] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTEVAL_CLIE] ADD CONSTRAINT [PK__TTEVAL_C__3BDC978C3D29E0FF] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_TIPO], [CO_EVCL]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTEVAL_CLIE] ADD CONSTRAINT [FK__TTEVAL_CLIE__5B0F49A1] FOREIGN KEY ([CO_EMPR], [CO_TIPO]) REFERENCES [dbo].[TTTIPO_EVCL] ([CO_EMPR], [CO_TIPO])
GO
